package com.hmyuan.dao;

import java.util.List;

import com.hmyuan.domain.Sys_role;

public interface Sys_roleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Sys_role record);

    int insertSelective(Sys_role record);

    Sys_role selectByPrimaryKey(Long id);
    
    List<Sys_role> selectList(Sys_role sys_role);
    
    List<Sys_role> selectListByUserid(Long userid);

    int updateByPrimaryKeySelective(Sys_role record);

    int updateByPrimaryKey(Sys_role record);
}